package org.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.lang.management.ManagementFactory;
import java.util.List;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaowenting
 * @since 2024-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("advise_transport")
public class AdviseTransport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 司机
     */
    private Integer deiversId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 外键 作物id
     */
    private Integer cropId;

    /**
     * 厂家 id
     */
    private Integer manufacturerId;

    private String cropAddr;
    @TableField(exist = false)
    private String facturerAddr;
    private Integer state;
    @TableField(exist = false)
    private SysManufacturer sysManufacturer;
    @TableField(exist = false)
    private SysCrop dbSysCrop;
}
